package com.gsnd.briuppts.service.impl;

import com.gsnd.briuppts.mapper.BaseRoleMapper;
import com.gsnd.briuppts.service.BaseRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BaseRoleServiceImpl implements BaseRoleService {
    @Autowired
    BaseRoleMapper baseRoleMapper;
    @Override
    public List<String> findAllRoleByAccountId(String accountId) {
        return baseRoleMapper.getRoleArrayByAccountId(accountId);
    }
}
